package models

import (
	"time"
)

type GameComment struct {
	ID        uint      `json:"id" gorm:"primaryKey"`
	GameID    uint      `json:"game_id" gorm:"comment:游戏ID"`
	UserID    uint      `json:"user_id" gorm:"comment:用户ID"`
	Content   string    `json:"content" gorm:"type:text;comment:评论内容"`
	Status    int       `json:"status" gorm:"default:1;comment:状态 1:正常 0:禁用"`
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
}
